package traveldream.ejb.interfaces;

import java.util.List;

import javax.ejb.Local;

import traveldream.ejb.DTO.GiftListDTO;
import traveldream.ejb.DTO.PackageDTO;
import traveldream.ejb.DTO.TransportationDTO;

@Local
public interface GiftListBeanLocal {

	public void createGiftList(PackageDTO pack, int n);

	public List<GiftListDTO> allPackage();

	public GiftListDTO find(int passedParameter) throws NotFindException;

	public boolean purchaseHotel(GiftListDTO viewedP) throws NotFindException;

	public boolean purchaseGoing(GiftListDTO viewedP) throws NotFindException;

	public boolean purchaseReturn(GiftListDTO viewedP) throws NotFindException;

	public boolean purchaseExcursion(GiftListDTO viewedP) throws NotFindException;
	
	public boolean checkAvailability(GiftListDTO viewedP);

}
